[INFO] cloning repository https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rusticus-io/ownership-borrowing-lifetimes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2fe59d05b6c9f54b075f09cf4dde394ec3aa344f
[INFO] building rusticus-io/ownership-borrowing-lifetimes against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frusticus-io%2Fownership-borrowing-lifetimes" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] finished tweaking git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes
[INFO] tweaked toml for git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/rusticus-io/ownership-borrowing-lifetimes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24da7920028371aebbc0ecf2567de26fc4e75693e5e976a03a956004b7209489
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "24da7920028371aebbc0ecf2567de26fc4e75693e5e976a03a956004b7209489", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24da7920028371aebbc0ecf2567de26fc4e75693e5e976a03a956004b7209489", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24da7920028371aebbc0ecf2567de26fc4e75693e5e976a03a956004b7209489", kill_on_drop: false }`
[INFO] [stdout] 24da7920028371aebbc0ecf2567de26fc4e75693e5e976a03a956004b7209489
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a6739f32137d6a526a9c80614eaa37091dd21cad88b794fe331701e94452d7e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5a6739f32137d6a526a9c80614eaa37091dd21cad88b794fe331701e94452d7e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.62s
[INFO] running `Command { std: "docker" "inspect" "5a6739f32137d6a526a9c80614eaa37091dd21cad88b794fe331701e94452d7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a6739f32137d6a526a9c80614eaa37091dd21cad88b794fe331701e94452d7e", kill_on_drop: false }`
[INFO] [stdout] 5a6739f32137d6a526a9c80614eaa37091dd21cad88b794fe331701e94452d7e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6bac13cf0e6eae263e7e29f26f59714d5a05127af383d9459939a329fca6472c
[INFO] running `Command { std: "docker" "start" "-a" "6bac13cf0e6eae263e7e29f26f59714d5a05127af383d9459939a329fca6472c", kill_on_drop: false }`
[INFO] [stderr]    Compiling ownbol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `x` is assigned to, but never used
[INFO] [stdout]   --> examples/03-deferred-definition.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let x; // declaration           .....+  space reserved on the stack
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]    = note: consider using `_x` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> examples/03-deferred-definition.rs:17:17
[INFO] [stdout]    |
[INFO] [stdout] 17 |             let a = A("a");                 //  .
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]   --> examples/03-deferred-definition.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             x = A("x"); // definition       // <!  lifetime of x starts here
[INFO] [stdout]    |             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `a` does not live long enough
[INFO] [stdout]   --> examples/04-lifetime.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |             x = &a; // definition       !   // <!  lifetime of x starts here | # cover a lifetime
[INFO] [stdout]    |                 ^^ borrowed value does not live long enough
[INFO] [stdout] 20 |             println!("{:?}", x);            //  !  usage of x is valid
[INFO] [stdout] 21 |         } // stack frame ends           !   //  !
[INFO] [stdout]    |         - `a` dropped here while still borrowed
[INFO] [stdout] ...
[INFO] [stdout] 25 |         println!("{:?}", x);                //  !  usage of x leads to borrow checker error
[INFO] [stdout]    |                          - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ownbol`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "6bac13cf0e6eae263e7e29f26f59714d5a05127af383d9459939a329fca6472c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bac13cf0e6eae263e7e29f26f59714d5a05127af383d9459939a329fca6472c", kill_on_drop: false }`
[INFO] [stdout] 6bac13cf0e6eae263e7e29f26f59714d5a05127af383d9459939a329fca6472c
